#include "Profile.h"
Profile::Profile(){}
Profile::Profile (string nameIn, string countryIn){
	 name = nameIn;
	 country = countryIn;
  
}
void Profile::setName(string nameIn){
	 name = nameIn;
}
void Profile::setCountry(string countryIn){
	 country = countryIn;
 }
string Profile::getName(){return name;}
string Profile::getCountry(){return country;}

void Profile::makeNewProfile(){
	
	ofstream ProfileFile ("Profile.txt");
	if (ProfileFile.is_open())
	{	

		ProfileFile << name;
		ProfileFile << " ";
		ProfileFile << country;
		ProfileFile << " ";

		ProfileFile.close();
	}
	else cout << "Unable to open file";
}